package lumis.service.tag;

import lumis.doui.control.selectserviceinstance.SelectServiceInstanceControl;
import lumis.portal.PortalException;
import lumis.portal.channel.tree.IChannelChildProvider;

/**
 * Control that allows tag service instance selection. 
 * 
 * @version $Revision: 13092 $ $Date: 2011-05-28 18:19:06 -0300 (Sat, 28 May 2011) $
 * @since 6.0.0
 */
public class SelectTagServiceInstanceControl extends SelectServiceInstanceControl 
{
	/**
	 * Defines the channel tree that allows the tag repository selection.
	 */
	public IChannelChildProvider createChannelChildProvider() throws PortalException
	{
		return new TagServiceInstanceProvider();
	}
	
	/**
	 * Returns the interface to allow the repository selection.
	 */
	protected String getInterfaceId()
	{
		return "lumis.service.tag.selectRepositoryServiceInstance";
	}
}
